package com.yuyou.fn.tradingservice.service;

import com.yuyou.fn.tradingservice.entity.ServiceCart;
import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.tradingservice.entity.ServiceCartItem;
import com.yuyou.fn.tradingservice.entity.ServiceProduct;

/**
 *
 * ServiceCart 表数据服务层接口
 *
 */
public interface IServiceCartService extends ISuperService<ServiceCart,Long> {

    void addToCart(ServiceProduct product, Long userId, int quantity);

    void addRentToCart(ServiceProduct product, Long userId, String startDate, String endDate, String startTime, String endTime);

}